﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NICY
{
    //提供配置信息
    public class Configuration
    {
        public Set<String> entityNames = new HashSet<String>();

        public String connStr;

        public Configuration(String connStr){
            this.connStr = connStr;
        }

        public void addEntityName(String entityName){
            this.entityNames.Add(entityName);
        }

        public Boolean isEntityExist(String entityName){
            return entityNames.Contains(entityName);
        }

        public String getConnStr(){
            return connStr;
        }
    }
}
